/**
 * 
 * 
 */
package com.cjfather.redis.steam.aspect;

import org.springframework.beans.BeansException;
import org.springframework.beans.factory.config.BeanPostProcessor;
import org.springframework.stereotype.Component;

import com.cjfather.redis.steam.annotation.consumers.AnnoMapPojoConsumerI;

/**
 * @author: todd
 * @date:   2023年8月7日
 */

@Component
public class CjfatherBeanPostProcessor implements BeanPostProcessor{
	
	public Object postProcessBeforeInitialization(Object bean, String beanName) throws BeansException {
		
		return BeanPostProcessor.super.postProcessBeforeInitialization(bean, beanName);
	}

	public Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException {
		if (!(bean instanceof AnnoMapPojoConsumerI)) {
//			System.out.println(111);
		}
		return BeanPostProcessor.super.postProcessAfterInitialization(bean, beanName);
	}


}
